[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
it be done manually ? Thanks for your help. List : Command/ attachment Command/ background Command/ bar Command/ beginblock Command/ button Command/ characterkerning Command/ comment Command/ completecombinedlist Command/ completelistoffloats Command/ completelistofsorts Command/ completeli

[NTG-context] Re: how to include an an svg file?

2024-03-12 Thread seyal zavira
PM, seyal zavira wrote: > > thanks for your reply > > > > yes but i don't have problem with regular svgs but when svgs has > > gradient color it does not produce any color in output. > > > > you can see my svg in attachment. > svg gets worse and worse (esp the i

[NTG-context] Re: how to include an an svg file?

2024-03-12 Thread Hans Hagen
On 3/12/2024 2:53 PM, seyal zavira wrote: thanks for your reply yes but i don't have problem with regular svgs but when svgs has gradient color it does not produce any color in output. you can see my svg in attachment. svg gets worse and worse (esp the inheritance model) ... anyway, i can

[NTG-context] Re: how to include an an svg file?

2024-03-12 Thread seyal zavira
thanks for your reply yes but i don't have problem with regular svgs but when svgs has gradient color it does not produce any color in output. you can see my svg in attachment. On Tue, Mar 12, 2024 at 9:43 AM Jean-Pierre Delange wrote: > Hi ! > > Did you have a look at this :

[NTG-context] /AFRelationship for attachments

2024-02-15 Thread Pablo Rodriguez via ntg-context
Dear list, the new lpdf-wid.lmt contains in lines 302 and 377: local relation = specification.relation or "Unspecified" AFRelationship = pdfconstant(relation), The following sample compiled with current latest: \setupinteraction[state=start] \starttext attachment\attachm

[NTG-context] Re: An announcement of my new book.

2024-02-13 Thread Wolfgang Schuster
cluded such misinformation. But now, this is a bug that needs to be resolved. I'm running ConTeXt version 2024.01.24, and the given attachment fails to compile, even with MkIV. I don't want to pester those subscribed to this mailing list with bug reports, so I thought it would be more sensible t

[NTG-context] Re: An announcement of my new book.

2024-02-13 Thread SirColeman via ntg-context
be resolved. I'm running ConTeXt version 2024.01.24, and the given attachment fails to compile, even with MkIV. I don't want to pester those subscribed to this mailing list with bug reports, so I thought it would be more sensible to post such reports on the context developers mailing

[NTG-context] Re: context version 20240118

2024-01-18 Thread Thomas Meyer
to this e-mail either! Am 17.01.24 um 20:57 schrieb Thomas Meyer: Got it. Was it with a huge attachment (> 100KB)? In this case I could have rejected it . -- luigi No attachment, only three pages text. I have had problems to get it fine onto grid. Yesterday all was nice, an

[NTG-context] Re: context version 20240118 (was: "Registerhaltigkeit")

2024-01-18 Thread luigi scarso
; Am 17.01.24 um 20:57 schrieb Thomas Meyer: > > Got it. > > Was it with a huge attachment (> 100KB)? In this case I could have rejected it . -- luigi ___ If your question is of interest to others as well

[NTG-context] Re: Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-08 Thread Henning Hraban Ramm
. Fixed. Any suggestions as to what needs to be changed to get the diagram to display correctly? I saved it again and now it seems to work. Thank you! BTW, for my book I made a new one in MetaPost, see attachment. \startMPpage input layout.mp; draw Layout; \stopMPpage Hraban % Diagram of lay

[NTG-context] Re: command to process CSV file (database module)

2023-11-05 Thread Pablo Rodriguez via ntg-context
iki (https://wiki.contextgarden.net/Commands_with_optional_arguments). It seems that the command has to be defined as unexpanded, such as in: \setupinteraction[state=start] \setupattachments[method=hidden] \usemodule[database] \starttext \unexpanded\def\ItemContents#1#2#3{\doiftext{#2}

[NTG-context] command to process CSV file (database module)

2023-11-05 Thread Pablo Rodriguez via ntg-context
/bidi.pdf; "Flowcharts","charts-mkiv.pdf", Faking a command such as \cA, \cB and \cC (for contents of columns A, B or C) I would like to create a source document with an enumeration that contains: \doiftext{\cB} {\item {\em\cA}\attachment[file=\cB]% \doiftext{\cC}{

[NTG-context] Re: Double sided pages leave a thin white line on the right side

2023-10-28 Thread Mia Bikey
; > white line. > > Seems like it is a firefox issue then. > > Hi Mia, > > opening your attachment with Firefox 119 (and the version of PDF.js that > comes with it) on Linux, I was not able to find any white line in your > attachment or in the output from the you sourc

[NTG-context] Re: Double sided pages leave a thin white line on the right side

2023-10-28 Thread Pablo Rodriguez via ntg-context
On 10/28/23 16:26, Mia Bikey wrote: > Well I was using firefox to open my pdf and did not check it on anything > else. > I opened the pdf in sumatra, adobe, microsoft edge and yeah there is no > white line. > Seems like it is a firefox issue then. Hi Mia, opening your attachment w

[NTG-context] Re: Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread Mikael Sundqvist
Hi, you can try contrastcolor: \setupinteraction[state=start,color=,contrastcolor=] /Mikael On Sat, Oct 28, 2023 at 1:54 PM Mia Bikey wrote: > > Ah, wrong attachment. > Here is the correct one. > > On Sat, Oct 28, 2023 at 5:18 PM Mia Bikey wrote: >> >> Hi, &g

[NTG-context] Re: Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread Mia Bikey
Ah, wrong attachment. Here is the correct one. On Sat, Oct 28, 2023 at 5:18 PM Mia Bikey wrote: > Hi, > I was trying to get all my references black as it goes well along with > black text but they appear red in some pages. > > I have reinstalled context in case there was some

[NTG-context] Re: colors for links

2023-10-14 Thread Hans Hagen via ntg-context
the link info I may edit a single file by hand (such as in the attachment), but I won’t be able to do that in a larger PDF source. > Drawing something in the document (avoiding the interactive link border) is not the solution here. you mentioned that you use it for checking so then ren

[NTG-context] Re: colors for links

2023-10-14 Thread Pablo Rodriguez
ferences.border" directive sets all /C keys in /Link objects to one single color in the same document. I may edit a single file by hand (such as in the attachment), but I won’t be able to do that in a larger PDF source. Drawing something in the document (avoiding the interactive link

[NTG-context] Re: XML, multiple spaces encoded as %20 get merged into one space

2023-09-06 Thread Hans Hagen via ntg-context
On 9/6/2023 4:59 PM, Pablo Rodriguez wrote: On 9/6/23 12:28, denis.ma...@unibe.ch wrote: Hi, I have the example below that uses the three images in the attachment. For some reason multiple spaces encoded as %20 get merged into a single %20. Hi Denis, this is standard TeX behavior (not only

[NTG-context] Re: XML, multiple spaces encoded as %20 get merged into one space

2023-09-06 Thread Pablo Rodriguez
On 9/6/23 12:28, denis.ma...@unibe.ch wrote: > Hi, > > I have the example below that uses the three images in the attachment. > For some reason multiple spaces encoded as %20 get merged into a single %20. Hi Denis, this is standard TeX behavior (not only related to XML):

[NTG-context] XML, multiple spaces encoded as %20 get merged into one space

2023-09-06 Thread denis.maier
Hi, I have the example below that uses the three images in the attachment. For some reason multiple spaces encoded as %20 get merged into a single %20. The first image () does not get included even though the name is correct. The second image () gets included. Filename is correct. The third

[NTG-context] Fwd: escaping \ in Lua

2023-09-05 Thread Hans Hagen via ntg-context
] \enabledirectives[references.border=darkgreen] \starttext \startTEXpage[offset=1dk] \attachment[method=hidden, file=a(b).pdf] \stopTEXpage \stoptext The name in EmbeddedFiles is "a\(b\).pdf". Sorry for the obscure question, but how can I access this with "\goto{l

[NTG-context] escaping \ in Lua

2023-09-05 Thread Pablo Rodriguez
Dear list, I have the following source: \setupinteraction[state=start, display=new] \enabledirectives[references.border=darkgreen] \starttext \startTEXpage[offset=1dk] \attachment[method=hidden, file=a(b).pdf] \stopTEXpage \stoptext The name in EmbeddedFiles is "a\(b\

[NTG-context] Re: (feature proposal) link to attachments: /GoToE

2023-09-03 Thread Pablo Rodriguez
On 9/3/23 16:02, Henning Hraban Ramm wrote: > Am 03.09.23 um 13:03 schrieb Pablo Rodriguez: > [...] > While I don’t know what’s missing under the hood, I think there’s just a > “reference” key missing in \attachment or \setupattachment: Many thanks for your reply, Hraban.

[NTG-context] Re: (feature proposal) link to attachments: /GoToE

2023-09-03 Thread Henning Hraban Ramm
the hood, I think there’s just a “reference” key missing in \attachment or \setupattachment: \setupinteraction[state=start] \starttext \samplefile{lorem} \attachment[ file={hacker.jpg}, title={Hacker}, symbol=Paperclip, author=Hans, location=inmargin, reference=foobar, ] As you can see

[NTG-context] Re: (feature proposal) link to attachments: /GoToE

2023-09-03 Thread Hans Hagen
On 9/3/2023 12:17 PM, Pablo Rodriguez wrote: Hi Hans, having attachments in PDF is very useful, but the vast majority of people don’t know how to handle them (even with the attachment pane displayed when Acrobat opens the document, or with file annotation). It would be really useful to have

[NTG-context] (feature proposal) link to attachments: /GoToE

2023-09-03 Thread Pablo Rodriguez
Hi Hans, having attachments in PDF is very useful, but the vast majority of people don’t know how to handle them (even with the attachment pane displayed when Acrobat opens the document, or with file annotation). It would be really useful to have a link with destination that it would open

[NTG-context] Re: An strange error with section and page

2023-08-27 Thread Xavier B.
escrit: > Xavier B. schrieb am 23.08.2023 um 15:02: > > Wolfgang, > > > > I detect something extrange: when I use \startexercici \stopexercici (see > > [https://repo.or.cz/apunts-espa-matematiques.git/blob/HEAD:/ng-entorn-minimal.conTeXt]) > > in some cases there i

[NTG-context] Re: An strange error with section and page

2023-08-24 Thread Xavier B.
cici (see > > [https://repo.or.cz/apunts-espa-matematiques.git/blob/HEAD:/ng-entorn-minimal.conTeXt]) > > in some cases there is an *undesired* indent (see attachment image). I saw > > the source > > [https://repo.or.cz/apunts-espa-matematiques.git/blob/HEAD:/ng-a

[NTG-context] Re: An strange error with section and page

2023-08-23 Thread Wolfgang Schuster
Xavier B. schrieb am 23.08.2023 um 15:02: Wolfgang, I detect something extrange: when I use \startexercici \stopexercici (see [https://repo.or.cz/apunts-espa-matematiques.git/blob/HEAD:/ng-entorn-minimal.conTeXt]) in some cases there is an *undesired* indent (see attachment image). I saw

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-19 Thread Mikael Sundqvist
ty betty. I know it's hard to teach an ol' dog new tricks, > but… it's worth to try! right? > > Also, Did you see the attachment I sent prior to your message? Maybe your system is broken? > > > 2. The example below results in a correct output for \TEX. > > > > Not in my end wi

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-19 Thread Carlos
en necessary, superflous; it's not required to compile any context flavor file for ages now. So I suggest you to save those keystrokes for other tasks. Not those, petty petty betty. I know it's hard to teach an ol' dog new tricks, but… it's worth to try! right? Also, Did you see the attachment

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-07 Thread Carlos
, > > BoldFont=LucidaTypewriterBold, > > % BoldItalicFont=LucidaTypewriterBoldOblique, > > ]{LucidaTypewriterRegular} > > > > \begin{document} > > > > {\rm\input{knuth}} > > > > \textsf{\input{knuth}} > > > > \end{

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-06 Thread Carlos
; \begin{document} > > {\rm\input{knuth}} > > \textsf{\input{knuth}} > > \end{document} > > > > > As for the \showmakup ... it is used extensively and afaiks there are no > > issues with it. > > After running lualatex the problem dissappear

Re: [NTG-context] ntg-context Digest, Vol 227, Issue 15

2023-05-09 Thread Sebastian Ørsted via ntg-context
ndcsname > > > \dostoptagged \dostoptagged \nonoindentati > > > > > > \stopformula > > > > > > \startformula > > > \int_{\infty} > > > >> \stopformula > > > > > > Sorry, but I can't typeset math un

Re: [NTG-context] update / punctuation / math

2023-04-02 Thread Pablo Rodriguez via ntg-context
tachments/20230401/1f8c6cc9/attachment-0001.pdf. According to type-imp-concrete.mkiv, text has the feature boldened-10 applied to it. Even with a variable font (which might not be the case in the link above), extending the font fakes the bold, such as in: \definefontfamily [mainface]

[NTG-context] extra lines in PDF annotations

2023-03-13 Thread Pablo Rodriguez via ntg-context
} \startxmlsetups xml:copy:html \xmltobuffer{#1}{.}{text} \comment[location=inmargin,buffer=text]{} \attachment[method=hidden, name=attach.xml, buffer=text] \null \stopxmlsetups If I save the XML file with Windows EOL chars (CR LF), I get extra blank lines in the PDF annotation

Re: [NTG-context] regular online meet-up

2023-02-08 Thread Gavin via ntg-context
, I’d love to hear some about what \mathboxanchored and friends are doing behind the scenes. I am using it for angular momentum diagrams in formulas, as shown in the attachment below. I’ve written my own replacement for \connectboxanchors to get some of the connections, but for diagrams involving

Re: [NTG-context] question about multimedia renderings

2023-01-16 Thread Pablo Rodriguez via ntg-context
s_to_array = utilities.parsers.settings_to_array local settings_to_hash = utilities.parsers.settings_to_hash local sortedhash, sortedkeys = table.sortedhash, table.sortedkeys local report_media = logs.reporter("backend","media") local report_attachment= logs.

Re: [NTG-context] question about multimedia renderings

2023-01-15 Thread Michal Vlasák via ntg-context
ne. local tonumber, next = tonumber, next local gmatch, gsub, find, lower = string.gmatch, string.gsub, string.find, string.lower local filenameonly, basefilename, filesuffix, addfilesuffix = file.nameonly, file.basename, file.suffix, file.addsuffix local isfile, modificationtime = lfs.isfile, lfs.

Re: [NTG-context] upload

2022-12-21 Thread Pablo Rodriguez via ntg-context
hat my code is poorly written (to say the least). The attachment contains a log for a 72 page document with just text (from XML sources [XHTML generated by pandoc from Markdown file]). [Since attachments over 100KB aren’t allowed, only the last two runs are included in the log file.] With current

Re: [NTG-context] issues with variable fonts in latest

2022-12-15 Thread Pablo Rodriguez via ntg-context
On 12/15/22 19:40, Pablo Rodriguez via ntg-context wrote: > [...] > No, erased by hand and I attach the output from the just updated latest. > > In red, I attach the results for 'mono=1', 'mono=1, casl=.75' and > 'crsv=1' (from Inkscape). Sorry, this attachment includes rig

Re: [NTG-context] how to simulate \hss in luametatex?

2022-11-11 Thread 黄复雄 via ntg-context
> > Hi, > > > >> I want to simulate \hss in lua end in ConTeXt/luametatex environment. > >> For example, > >> > >> ```ConTeXt > >> a{\raise 1.5ex\hbox to 0pt{\hss b}}c > >> ``` > > > >> And in lua, I do as follo

Re: [NTG-context] how to simulate \hss in luametatex?

2022-11-11 Thread 黄复雄 via ntg-context
> > ``` > > > And in lua, I do as follows(part of my app seen in attachment): > > Your code doesn't compile as is. I think that this is the same thing > though: > >\starttext >\startluacode >local a = node.new"glyph" >a.char = string.byt

Re: [NTG-context] how to simulate \hss in luametatex?

2022-11-11 Thread Hans Hagen via ntg-context
On 11/11/2022 10:53 AM, Max Chernoff via ntg-context wrote: Hi, I want to simulate \hss in lua end in ConTeXt/luametatex environment. For example, ```ConTeXt a{\raise 1.5ex\hbox to 0pt{\hss b}}c ``` And in lua, I do as follows(part of my app seen in attachment): Your code doesn't

Re: [NTG-context] how to simulate \hss in luametatex?

2022-11-11 Thread Max Chernoff via ntg-context
Hi, > I want to simulate \hss in lua end in ConTeXt/luametatex environment. > For example, > > ```ConTeXt > a{\raise 1.5ex\hbox to 0pt{\hss b}}c > ``` > And in lua, I do as follows(part of my app seen in attachment): Your code doesn't compile as is. I think that this is

[NTG-context] how to simulate \hss in luametatex?

2022-11-10 Thread 黄复雄 via ntg-context
rink:65536, stretchorder:2, shrinkorder:2 And in lua, I do as follows(part of my app seen in attachment): ```lua local hss = node_new(glue_id) hss.stretch = 65536 hss.stretchorder = 2 hss.shrink = 65536 hss.shrinkorder = 2 hss.width = 0 list,_ = node_insertbefore(list, list,

Re: [NTG-context] PDF viewer

2022-09-23 Thread Henning Hraban Ramm via ntg-context
include a video file as an attachment. A question for Michal... - transition effects not necessary (but if the developer has fun including them, go on) No transition effects. for forms: - fill in Yes. Just checked again with current Firefox: It doesn’t work with all of my test

Re: [NTG-context] new hash for buffer (as file)

2022-09-22 Thread Max Chernoff via ntg-context
fine \shabufferfile to avoid \savebuffer (only > required to get the hash). The SHA calculation isn't working properly because of a weird newline issue. Try this: \setupinteraction[state=start] \setupinteractionscreen[option={attachment}] \startbuffer[test] just a test

Re: [NTG-context] PDF viewer

2022-09-22 Thread Max Chernoff via ntg-context
S’ default player) I don't think so, although I guess you could include a video file as an attachment. > - transition effects not necessary (but if the developer has fun >including them, go on) No transition effects. > for forms: > - fill in Yes. > - print documents with/w

Re: [NTG-context] Math alignment problem

2022-09-22 Thread Jan-Erik Hägglöf via ntg-context
ntg.nl>> a écrit : > Dear List! > > I do not know how to solve this issue. > > I want the formulas appear on same height, as you can se on the attachment > the formula containing a fraction displaces on another vertical position > compared to the other equations. > >

[NTG-context] new hash for buffer (as file)

2022-09-22 Thread Pablo Rodriguez via ntg-context
Dear list, playing with buffer contents, I have the following file: \setupinteraction[state=start] \setupinteractionscreen[option={attachment}] \startbuffer[test] just a test and another one \stopbuffer \starttext \ctxlua{require("util-sha")} \def\s

Re: [NTG-context] Math alignment problem

2022-09-22 Thread Alexandre Christe via ntg-context
12:57, Jan-Erik Hägglöf via ntg-context < ntg-context@ntg.nl> a écrit : > Dear List! > > I do not know how to solve this issue. > > I want the formulas appear on same height, as you can se on the attachment > the formula containing a fraction displaces on another vert

[NTG-context] Math alignment problem

2022-09-22 Thread Jan-Erik Hägglöf via ntg-context
Dear List!I do not know how to solve this issue.I want the formulas appear on same height, as you can se on the attachment the formula containing a fraction displaces on another vertical position compared to the other equations.How do I correct this?Code snippet pasted from garden\starttext

[NTG-context] Issue with setupMPvariables

2022-09-03 Thread Alexandre Christe via ntg-context
Dear all, I'm trying to reuse some MP code for several custom enumeration. However I can't make the overall setup work, needless to say different border colors for each enumeration though setupMPvariables. What am I missing? MWE: see attachment testColorParagraphs.tex Description: TeX

Re: [NTG-context] setupexternalfigures and resoĺution

2022-09-02 Thread Henning Hraban Ramm via ntg-context
the problem. Is this a bug or a feature? The call to gm convert was lacking quoting of the file names. Fixed in attachment. While the code does some downsampling, the calculation is not always right, because it doesn’t consider scaling (or something like that). Hraban if not modules

[NTG-context] How to do code listings & sections from XML (AsciiDoc)

2022-08-12 Thread Mojca Miklavec via ntg-context
; } \stopCPP In the attachment I have the source document (test.adoc), the generated docbook xml that should be further processed, and test.tex that one processes to get the final pdf. Any hints would be greatly appreciated. Mojca test.tex Description: Binary data test.adoc Description: Binary data

Re: [NTG-context] local footnotes and captions

2022-06-16 Thread Henning Hraban Ramm via ntg-context
If I combine the examples from the different threads (see attachment) – local and postponed footnotes – the local footnotes get repeated in global scope after the postponing. Hraban footnote-local.tex Description: TeX document

Re: [NTG-context] Achieving the style of Jean-Luc Doumont

2022-05-20 Thread Susanne G. Loeber via ntg-context
gt; Sincerely, > Stefan > Kind regards, Susanne G. Loeber -- next part -- > An HTML attachment was scrubbed... > URL: < > http://mailman.ntg.nl/pipermail/ntg-context/attachments/2

[NTG-context] PDF/A-3, XMP and Factur-X

2022-05-18 Thread Henning Hraban Ramm via ntg-context
dditional XMP schema for Factur-X with the URI "urn:factur-x:pdfa:CrossIndustryDocument:invoice:1p0#", prefix "fx". How can I do that? This is the example from the docs: INVOICE factur-x.xml 1.0 EXTENDED Then I’d use \attachment to include my

Re: [NTG-context] embed source-file in pdf

2022-04-20 Thread Heinrich Paeßens via ntg-context
Hi Pablo and Rik many thanks, much appreciated. attachment works like a charm to include the source files in the delivered PDF. Rik pointed me to the longterm archive standard, which is also desirable. PDF/A is possible with setupbackend\setupbackend[format={pdf/a-3a}] but needs fixing

Re: [NTG-context] embed source-file in pdf

2022-04-20 Thread Heinrich Paeßens via ntg-context
 Hi Pablo Many thanks. That is exactly what I need, ie. to deliver the source code embedded in the PDF. attachment works like a charm Rik pointed me — additionally — into the direction of being PDF/A compliant. PDF/A is possible with setupbackend\setupbackend[format={pdf/a-3a}] but needs

Re: [NTG-context] embed source-file in pdf

2022-04-20 Thread Pablo Rodriguez via ntg-context
On 4/19/22 16:47, Heinrich Paeßens via ntg-context wrote: > Hi there > > just a quick question:  > > Is there a command or package to embed the source-file (*.tex) into the > resulting pdf-file, Hi Heinrich, I think this may be what you need: \setupinteraction[state=start]

Re: [NTG-context] embed source-file in pdf

2022-04-19 Thread Rik Kabel via ntg-context
tex/contrib/embedall/embedall.pdf>? Many thanks and kind regards Heinrich <https://wiki.contextgarden.net/Command/_attachment> You are looking for attachment <https://wiki.contextgarden.net/Command/_attachment>. Note that the resulting pdf will not pass PDF/A validation, or

Re: [NTG-context] $\sin \theta$ behave differently in metafun

2022-04-16 Thread Pablo Rodriguez via ntg-context
On 4/16/22 13:01, śrīrāma via ntg-context wrote: > Strangely, my attachments never make it to the list Sreeram, as you can check yourself, the list got your attachment (https://mailman.ntg.nl/pipermail/ntg-context/2022/105466.html). Just in case it might help, Pa

[NTG-context] $\sin \theta$ behave differently in metafun

2022-04-15 Thread Jeong Dal via ntg-context
> modules > 'zint' is loaded >>> >>> however further down the output it gives: >>> >>> >>> optional> unable to locate library 'libzint' >>> >>> I have tried renaming libzint2.10.0.0.so to libzint.so, but still no >>&g

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-14 Thread Jan-Erik Hägglöf via ntg-context
ccesfully ended. However, it use >>> /usr/local/texlive/… not LMTX tex folder. >>> >>> Without context.vim, “:ConTeXt" and “:make" worked fine. >>> >>> I’ll do more test. >>> >>> Thank you. >>> Best regards, >&

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-14 Thread Jeong Dal via ntg-context
’ll do more test. >> >> Thank you. >> Best regards, >> >> Dalyoung >> >> ___ >> If your question is of interest to others as well, please add an entry to >> the Wiki

Re: [NTG-context] Convertnumber with \ref[number] fails in MkIV, works in LMTX

2021-10-28 Thread Rik Kabel via ntg-context
ion differently: \definelabel[XX][numberconversion=R] \definelabel[YY][XX][numberconversion=A] \startTEXpage[offset=2em]     1: \XX[xx]\par 2: \YY[xx] \stopTEXpage Hans (Resending because attachment was too large.) That generates a new labeled item albeit with a roman numeral label. I am try

Re: [NTG-context] Line breaks, \wordright and hyphenation

2021-10-24 Thread kauśika cittūr via ntg-context
or} > \stopamnata > > \startamnata > A quote from another author : Here, the text does not cause > hyphenation in the first line. > \wordright{– author} > \stopamnata > > [I have attached the output here as an image] > > How do I ensure that this does not happen, if t

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread mf via ntg-context
changes all the transform="translate(...)scale(...)" attributes into transform="matrix(...)". Now focus on the "y = sin(x)" text. In the attachment I modified the transform attributes of that text, from "translate(...)scale(...)" to "matrix(...)",

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread Hans Hagen via ntg-context
attributes into transform="matrix(...)". Now focus on the "y = sin(x)" text. In the attachment I modified the transform attributes of that text, from "translate(...)scale(...)" to "matrix(...)", taking the values from the version obtained from Inksca

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread mf via ntg-context
Here it's wrong. See attachment. Massimiliano Il 18/10/21 18:30, Hans Hagen via ntg-context ha scritto: On 10/18/2021 6:06 PM, mf via ntg-context wrote: Il 18/10/21 17:15, Jason Ross via ntg-context ha scritto: The following MWE fails to render the text in the attached SVG properly

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread Hans Hagen via ntg-context
attributes into transform="matrix(...)". Now focus on the "y = sin(x)" text. In the attachment I modified the transform attributes of that text, from "translate(...)scale(...)" to "matrix(...)", taking the values from the version obtained from Inksca

Re: [NTG-context] SVG not rendering correctly with LMTX and conversion=mp

2021-10-18 Thread mf via ntg-context
)". Now focus on the "y = sin(x)" text. In the attachment I modified the transform attributes of that text, from "translate(...)scale(...)" to "matrix(...)", taking the values from the version obtained from Inkscape. Use that SVG with your MWE and you'll see &qu

Re: [NTG-context] Fuzzy lines

2021-09-03 Thread Henning Hraban Ramm via ntg-context
, since do_sketchfill didn’t use sketchrandomized. That was an easy fix. But I couldn’t fix the edge points issue: the less segments I use, the more some of the edge points deviate (see attachment with 10 segments; I used the setup from your theorems article). Lower left and upper right are good,

Re: [NTG-context] Vector Brushes for MetaFun?

2021-09-01 Thread Henning Hraban Ramm via ntg-context
Designer does). >> (https://affinity.serif.com/designer/) >> Is this possible with MetaFun, i.e. use a closed path and distort/stretch it >> along an open path? >> If, how? > you can try to 'reverse engineer the result' and see what is done by looking > at the output

Re: [NTG-context] multimedia PDF in ConTeXt

2021-07-31 Thread Pablo Rodriguez via ntg-context
Michal. >> [...] >> Is there no way to have the video as an embedded file in the PDF >> document? (I mean, that the file is listed when the attachment panel is >> displayed.) > > Currently, only attachments are added as "embedded files" (either as >

Re: [NTG-context] multimedia PDF in ConTeXt

2021-07-30 Thread Michal Vlasák via ntg-context
> \placerenderingwindow[myrenderingwindow][myvideo] > \stoptext > > Is there no way to have the video as an embedded file in the PDF > document? (I mean, that the file is listed when the attachment panel is > displayed.) Currently, only attachments are added as "embedded

[NTG-context] multimedia PDF in ConTeXt

2021-07-30 Thread Pablo Rodriguez via ntg-context
when the attachment panel is displayed.) The second question is addressed to Hans: would it be possible that \placerenderingwindow could have another option and text as in \framed? A workaround would be to add a layer, but too complex only for adding usage instructions for the media usage. Many

Re: [NTG-context] Proper ligatures in Malayalam

2021-07-07 Thread Pablo Rodriguez
n[option=max] \definefontfamily [malayalam] [rm] [RIT Rachana] [features=malayalam-two] \setupbodyfont [malayalam] \setupattachments[method=hidden] \attachment[file=\jobname.tex] \attachment[file=http://rachana.org.in/downloads/RIT-Rachana-Regular.ttf] \attachment[file=http://rachana.org.

Re: [NTG-context] Adjust Grid to last line textheight

2021-06-23 Thread denis.maier
the last line of the page (see attachment). Is that possible? I have already found the various grid snapping methods, but they seem to change how content is placed on the grid, not the placement of the grid itself. === \setuplayout[grid=yes] \showgrid \starttext \input knuth \stoptext

[NTG-context] WG: Adjust Grid to last line textheight

2021-06-23 Thread denis.maier
(see attachment). Is that possible? I have already found the various grid snapping methods, but they seem to change how content is placed on the grid, not the placement of the grid itself. === \setuplayout[grid=yes] \showgrid \starttext \input knuth \stoptext === Best, Denis

Re: [NTG-context] Luatex format error

2021-05-28 Thread Hans Åberg
> On 23 May 2021, at 23:41, Hans Hagen wrote: > > So this is not lmtx (which also has luatex) but the regular installation > right? The error occurs when there is a newline before the \starttext, as in the attachment. Remove the initial newline, and it compiles with context

Re: [NTG-context] Syriac (Estrangelo Edessa) query

2021-05-04 Thread Hans Hagen
 ܠܗܠܝܢ } \stoptext Though the file compiles, the Syriac text does not look the same as the  source text (Estrangelo Edessa unicode). See attachment. Any guidance in fixing this will be gladly received. Alan Disclaimer: I do not know Syriac. me neither \definefontfeature [syriac] [syriac

[NTG-context] Syriac (Estrangelo Edessa) query

2021-05-03 Thread Alan Bowen
compiles, the Syriac text does not look the same as the source text (Estrangelo Edessa unicode). See attachment. Any guidance in fixing this will be gladly received. Alan Disclaimer: I do not know Syriac. FontTest.pdf Description: Adobe PDF document

Re: [NTG-context] custom zig zag sidebars

2021-04-29 Thread Otared Kavian
>>> I made an experiment to add alternatives to sidebars (see attachment). >>> >>> I discovered the sidebar is drawn by anch_sidebars_draw in >>> metapost/context/base/mpiv/mp-apos.mpiv. >>> >>> I've redefined it locally to add alternative

Re: [NTG-context] custom zig zag sidebars

2021-04-29 Thread mf
Il 28/04/21 17:53, Hans Hagen ha scritto: On 4/28/2021 5:27 PM, mf wrote: Hello, I made an experiment to add alternatives to sidebars (see attachment). I discovered the sidebar is drawn by anch_sidebars_draw in metapost/context/base/mpiv/mp-apos.mpiv. I've redefined it locally to add

Re: [NTG-context] custom zig zag sidebars

2021-04-28 Thread Hans Hagen
On 4/28/2021 5:27 PM, mf wrote: Hello, I made an experiment to add alternatives to sidebars (see attachment). I discovered the sidebar is drawn by anch_sidebars_draw in metapost/context/base/mpiv/mp-apos.mpiv. I've redefined it locally to add alternatives. To make fancy, zig zag bars I

[NTG-context] custom zig zag sidebars

2021-04-28 Thread mf
Hello, I made an experiment to add alternatives to sidebars (see attachment). I discovered the sidebar is drawn by anch_sidebars_draw in metapost/context/base/mpiv/mp-apos.mpiv. I've redefined it locally to add alternatives. To make fancy, zig zag bars I defined a macro, draw_pattern_bar

Re: [NTG-context] How to improve visually a table

2021-02-16 Thread Alain Delmotte
. Look at the attachment for a example. Wolfgang Thank you Wolfgang, I continued to explore the wiki and I did find the description for the natural table and I did discover what you are sugesting me. I'll continue to test. Thanks again, Alain

Re: [NTG-context] How to improve visually a table

2021-02-16 Thread Wolfgang Schuster
at the attachment for a example. Wolfgang \setupbodyfont[dejavu,10pt,ss] \starttext \definecolor [tableheader] [x=00ADEF] \startsetups[tablesettings] \setupTABLE[start][framecolor=gray,loffset=.5ex,roffset=.5ex] %\setupTABLE[header][background=color,backgroundcolor=tableheader

Re: [NTG-context] Missing images in Wiki?

2021-01-22 Thread Andres Conrado Montoya Acosta
_...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > It seems a lot of image examples from the wiki are gone now. Most articles > lost many images. Is this on purpose? > > -- > Andrés Conrado Montoya > -- next part -

[NTG-context] flushleft nbsp with unequal width

2020-11-23 Thread Jano Kula
woo woo woo woo woo woo woo woo woo \blank \setupalign[flushleft] woo woo woo woo woo woo woo woo woo woo \stopTEXpage MWE also in the attachment to preserve nbsp. Regards, Jano flushleft-nbsp.tex Description: TeX document

[NTG-context] help with filename containing spaces

2020-10-17 Thread Pablo Rodriguez
}]], "", "/")}} no spaces: \doifelsefileexists{\PathName\cB}{yes}{no} \attachment[file={\PathName\cB}]\\ with spaces: \doifelsefileexists{\PathName\cC}{yes}{no} \attachment[file={\PathName\cC}] \stoptext It works fine in Linux with spaces in file names. I invoke it with:

Re: [NTG-context] Disappearing characters with nolig-german-wordlist

2020-10-09 Thread Henning Hraban Ramm
t;> \input nolig-german-wordlist.tex >> \starttext >> auffasste >> auffasse >> \stoptext >> ``` >> gives me "auffasse auffasse" (see attachment.) >> I don't really understand what is happening here. Why is the t disappearing. > > who knows ... i d

[NTG-context] Disappearing characters with nolig-german-wordlist

2020-10-08 Thread Denis Maier
Hi, I do as adviced on the Wiki and input the nolig-german-wordlist.tex to suppress wrong ligatures. However, I'm seeing strange results: ``` \input nolig-german-wordlist.tex \starttext auffasste auffasse \stoptext ``` gives me "auffasse auffasse" (see attachment.) I do

Re: [NTG-context] Disappearing characters with nolig-german-wordlist

2020-10-08 Thread Denis Maier
\stoptext ``` gives me "auffasse auffasse" (see attachment.) I don't really understand what is happening here. Why is the t disappearing. who knows ... i don't have that file I took it from the wiki: http://wiki.contextgarden.net/images/b/be/nolig-german-wordlist.tex That's wh

Re: [NTG-context] Disappearing characters with nolig-german-wordlist

2020-10-08 Thread Hans Hagen
fasse" (see attachment.) I don't really understand what is happening here. Why is the t disappearing. who knows ... i don't have that file ``` \replaceword[eka][auffasse][au{ff}asse] \replaceword[eka][auffasste][au{ff}asste] \setreplacements[eka] \starttext auffasste auffasse

Re: [NTG-context] Full page image and caption in another page?

2020-09-23 Thread Taco Hoekwater
• I can't get # 1 and # 3 at same time > • \setupfloat doesn't have before option, which I could use to change > orientation > • I have no idea how to accomplish # 4 > A minimal working example (PDF in attachment): > > %

  1   2   3   4   5   6   7   8   9   10   >